package com.books.model.entity.lang;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class ImUser {


    public final static String ONLINE_STATUS = "online";
    public final static String HIDE_STATUS = "hide";

    private Integer id;
    private String username;
    private String status;//在线状态 online 在线
    private String sign;  // 我的签名
    private String avatar;  // 我的头像
    private Boolean mine;   //是否是我发送的消息
    private String content;   //消息内容

}
